home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-01-01 | 1.2 KB | 42 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Appearance\Start menu\Common"
- "NAME"="Recent Documents (Activated)"
- "VERSION"="3.03"
- "LANGUAGE"="VBScript"
- "OSVERSION"="000111"
- "TEXT 1"="Create Recent Document shortcuts on the Documents sub-menu"
- "DESCRIPTION 1"="If you do not want that Windows creates any entries to your "Documents" menu inside the Start Menu, deactivate this option."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to Jon-Roar Selenius [jseleniu@online.no] for spotting the "Recent Documents always empty" bug."
-
-
- sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRecentDocsHistory"
-
- SUB Plugin_Initialize
- i=RegReadValue(sV1)
- If IsEmpty(i) or i=0 then SetUIElement 1,true
- END SUB
-
- SUB Plugin_CheckData(ElementIndex)
- END SUB
-
- SUB Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- if RegValueExists(sV1) then
- Call RegDeleteValue(sV1)
- end if
- else
- Call RegWriteValue(sV1,1,2)
- end if
-
- Call Logoff()
- END SUB
-
- SUB Plugin_Terminate
- END SUB
-